<template>
  <div id="app">
    <router-view></router-view>
  </div>
</template>

<script>

export default {
  name: 'app',
  components: {

  }
  // watch: {
  //   $route(to) {
  //     if (to.path!=='/login'&&to.path!=='/'){
  //       this.$store.commit('addTab', to.path);
  //     }
  //   }
  // }
}
</script>

<style lang="less">
html,body,#app {
  height: 100%;
  padding: 0;
  margin: 0;
  a{
    text-decoration:none
  }
}
#nprogress .bar {
  background: black !important; //自定义颜色
  height:5px;
}
</style>
